ListBase Generic Class

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

ListBase is an abstract class that can be used as a base class for a read-write collection that needs to implement the generic IList<T> and non-generic IList collections. The derived class needs to override the following methods: Count, Clear, Insert, RemoveAt, and the indexer. The implementation of all the other methods in IList<T> and IList are handled by ListBase.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
[SerializableAttribute]
public abstract class ListBase<T> : CollectionBase<T>, IList<T>, 
	ICollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable
Visual Basic (Declaration)
<SerializableAttribute> _
Public MustInherit Class ListBase(Of T) _
	Inherits CollectionBase(Of T) _
	Implements IList(Of T), ICollection(Of T),  _
	IEnumerable(Of T), IList, ICollection, IEnumerable
Visual C++
[SerializableAttribute]
generic<typename T>
public ref class ListBase abstract : public CollectionBase<T>, 
	IList<T>, ICollection<T>, IEnumerable<T>, IList, ICollection, 
	IEnumerable

Type Parameters

T

Inheritance Hierarchy

See Also